<template>
	<view>
		<u-tabbar :list="tabbar" active-color="#2979ff" inactive-color="#b9b9b9"></u-tabbar>
	</view>
</template>

<script>
	export default{
		data(){
			return{
				tabbar:''				
			}
		},
		onLoad(){
			this.tabbar=
			[
				{
					iconPath: "home",
					selectedIconPath: "home-fill",
					text: '首页',
					pagePath:"/pages/doctor_mainpage"
				},
				{
					iconPath: "grid",
					selectedIconPath: "grid-fill",
					text: '配药',
					pagePath:"/pages/dispensing/doctor_dispensing"
				},
				// {
				// 	iconPath: "file-text",
				// 	selectedIconPath: "file-text-fill",
				// 	text: '处方',
				// 	pagePath:"/pages/prescription/doctor_prescriptionlist"
				// },
				{
					iconPath: "account",
					selectedIconPath: "account-fill",
					text: '我的',
					pagePath:"/pages/mine/doctor_mypage"
				},
			]
		}
	}
</script>

<style scopped lang="scss">
	page{background-color: #f5f5f5;}
</style>